Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Mon, 5 Jan 2026 04:35:14 +0000 (17:35 +1300)
committerVladimir Petko <vladimir.petko@canonical.com>
Mon, 5 Jan 2026 04:35:14 +0000 (17:35 +1300)
commit9f6dfb8052fd5217f8c273e9ea31bb80f550efff
tree9c24d5526839e36e593a42285f2ed6535f91fe55
parent7644d74a244907257aae541bcaa64302c3c85cdf
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp